import numpy as np

# 矩阵乘法
arr1 = np.array([[1, 2, 3], [1, 2, 3]])
arr2 = np.array([[1, 2], [2, 2], [4, 1]])
print(arr1.dot(arr2))
print(np.dot(arr1, arr2))